#include <QDebug>

#include "UIWindow.h"

UIWindow::UIWindow (QObject *parent)
    : QGraphicsScene(parent), UIResponder(this)
{
    qDebug() << "WINDOW CREATED";
}

UIWindow::~UIWindow() {
    qDebug() << "WINDOW KILLED";
}


void UIWindow::mouseReleaseEvent (QGraphicsSceneMouseEvent *event) {
    touchReleaseEvent(event);
}

void UIWindow::mousePressEvent (QGraphicsSceneMouseEvent *event) {
    touchPressEvent(event);
}

void UIWindow::mouseMoveEvent (QGraphicsSceneMouseEvent *event) {
    touchMoveEvent(event);
}

